var username = process.argv[2];
var password = process.argv[3];
var str = "用户名: " + username + " 密码: " + password;
console.log(str);
var buf = Buffer.from(str); //给字符串进行编码
var str1 = buf.toString("base64"); //给字符进行加密
console.log(str1);